import java.util.Scanner;

public class exceptions_work4 {
    public static void main(String args[]) {
        Scanner reader = new Scanner(System.in);
        double e1, e2, e3;
        e1 = reader.nextDouble();
        e2 = reader.nextDouble();
        e3 = reader.nextDouble();
        double max = Math.max(Math.max(e1, e2), e3);
        if (e1 + e2 + e3 - max > max) {
            System.out.println("Triangle [side1=" + e1 + ", side2=" + e2 + ", side3=" + e3 + "]");
        } else {
            System.out.printf("Invalid: %.1f,%.1f,%.1f\n",e1, e2, e3);
        }
    }
}
